package GUI;

import java.awt.BorderLayout;
import java.awt.Dimension;

import pantomime.gestures.GestureMain;
import processing.core.*;

/**
 *
 * @author Pavel - Old Macbook Pro
 */
public class pnlModel extends javax.swing.JPanel {

    /** Creates new form pnlRPS */
    public pnlModel(PApplet model) {
        initComponents(model);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
    private void initComponents(PApplet model) {

      //  PApplet model = new GestureMain();
              
        setLayout(new BorderLayout());
        setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
        setPreferredSize(new Dimension(1000, 700));
        
       // model.init();
        
        add(model, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));        
    }// </editor-fold>                        

    
    // Variables declaration - do not modify                     
    
    // End of variables declaration                   
}
